package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 客户积分对象 customer_points
 * 
 * @author LK
 * @date 2024-06-22
 */
public class CustomerPoints extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String customerId;

    /** 积分变化 */
    @Excel(name = "积分变化")
    private String pointsChange;

    /** 积分变化时间 */
    @Excel(name = "积分变化时间")
    private String pointsChangeTime;

    /** 剩余积分 */
    @Excel(name = "剩余积分")
    private String totalPoints;

    public void setCustomerId(String customerId) 
    {
        this.customerId = customerId;
    }

    public String getCustomerId() 
    {
        return customerId;
    }
    public void setPointsChange(String pointsChange) 
    {
        this.pointsChange = pointsChange;
    }

    public String getPointsChange() 
    {
        return pointsChange;
    }
    public void setPointsChangeTime(String pointsChangeTime) 
    {
        this.pointsChangeTime = pointsChangeTime;
    }

    public String getPointsChangeTime() 
    {
        return pointsChangeTime;
    }
    public void setTotalPoints(String totalPoints) 
    {
        this.totalPoints = totalPoints;
    }

    public String getTotalPoints() 
    {
        return totalPoints;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("customerId", getCustomerId())
            .append("pointsChange", getPointsChange())
            .append("pointsChangeTime", getPointsChangeTime())
            .append("totalPoints", getTotalPoints())
            .toString();
    }
}
